package com.ehome.poct.core.api.virtual;

import com.ehome.core.service.CrudService;
import com.ehome.poct.core.api.dto.check.TestRecordDetailDTO;
import com.ehome.poct.core.api.vo.checkdata.TestRecordDetailVO;

import java.util.List;

/**
 * 检测记录Service
 *
 * @author ehome
 * @Date 2022-03-19 16:15
 */
public interface TestRecordDetailService extends CrudService<TestRecordDetailDTO> {
    /**
     * 保存检测记录
     *
     * @param records
     */
    void saveRecord(List<TestRecordDetailDTO> records);


    /**
     * 修改检查记录
     *
     * @param recordDetailDTO
     * @return
     */
    TestRecordDetailVO updateRecordInfo(TestRecordDetailDTO recordDetailDTO);
}
